package zry.Achievement.Report;

import lombok.Data;

import java.sql.Date;

@Data
public class Report {
    private String a_id;
    private String r_name;
    private String r_type;
    private String r_dept;
    private Date r_time;
    private String r_contribution;
    private String r_supporting;

    public Report() {
    }

    public Report(String achievement_id, String report_name, String report_type, String report_dept, Date report_time, String contribution, String supporting) {
        this.a_id = achievement_id;
        this.r_name = report_name;
        this.r_type = report_type;
        this.r_dept = report_dept;
        this.r_time = report_time;
        this.r_contribution = contribution;
        this.r_supporting = supporting;
    }

    @Override
    public String toString() {
        return "成果id：" + a_id +
                "\n报告名称：" + r_name +
                "\n报告类型：" + r_type +
                "\n报告服务单位：" + r_dept +
                "\n报告时间：" + r_time +
                "\n贡献度排名：" + r_contribution +
                "\n佐证材料：" + r_supporting;
    }
}
